import dayjs from "dayjs";
export const menSbInfoColumns = [
    {
        prop: "source",
        label: "来源",
        width: "40px",
    },
    {
        prop: "dwMenId",
        label: "客户人员ID",
        width: "100px",
    },

    {
        prop: "startYm",
        label: "社保起缴年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "sbTypeId",
        label: "社保类型ID",
        width: "100px",
    },
    {
        prop: "sbTypeName",
        label: "社保类型名称",
        width: "120px",
    },
    {
        prop: "sbJs",
        label: "社保基数",
        width: "80px",
    },
    {
        prop: "syJs",
        label: "失业基数",
        width: "80px",
    },
    {
        prop: "ybJs",
        label: "医保基数",
        width: "80px",
    },
    {
        prop: "gsJs",
        label: "工伤基数",
        width: "80px",
    },
    {
        prop: "syuJs",
        label: "生育基数",
        width: "80px",
    },
    {
        prop: "sbNo",
        label: "社保账号",
        width: "80px",
    },

    {
        prop: "billYm",
        label: "结算年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "repYm",
        label: "报表年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "sbState",
        label: "社保申报状态",
        width: "120px",
    },

    {
        prop: "sbSubmitTime",
        label: "社保申报时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "sbSubmitInfo",
        label: "申报反馈",
        width: "80px",
    },
    {
        prop: "dwYlCash",
        label: "单位养老金额",
        width: "120px",
    },
    {
        prop: "grYlCash",
        label: "个人养老金额",
        width: "120px",
    },
    {
        prop: "dwSyCash",
        label: "单位失业金额",
        width: "120px",
    },
    {
        prop: "grSyCash",
        label: "个人失业金额",
        width: "120px",
    },
    {
        prop: "dwYbCash",
        label: "单位医保金额",
        width: "120px",
    },
    {
        prop: "grYbCash",
        label: "个人医保金额",
        width: "120px",
    },
    {
        prop: "gsCash",
        label: "工伤金额(单位缴纳)",
        width: "180px",
    },
    {
        prop: "syuCash",
        label: "生育金额",
        width: "80px",
    },

    {
        prop: "stopYm",
        label: "停缴年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "sbStopRepYm",
        label: "停缴报表年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "sbReduceState",
        label: "社保减少申报状态",
        width: "160px",
    },

    {
        prop: "sbReduceSubmitTime",
        label: "社保减少申报时间",
        width: "160px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "ybStartYm",
        label: "医保起缴年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "ybBillYm",
        label: "医保结算年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "ybRepYm",
        label: "医保报表年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "ybState",
        label: "医保申报状态",
        width: "120px",
    },
    {
        prop: "ybSubmitInfo",
        label: "医保申报反馈",
        width: "120px",
    }
];
